package DailyPractice.Day30;

import java.util.Scanner;

/**
 * @author lumin
 * @date 2022/05/28 15:59
 **/
public class Num1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        while(sc.hasNext()){
            String str = sc.nextLine();
            char[] ch = str.toCharArray();
            StringBuilder sb = new StringBuilder();
            for(int i = 0;i < ch.length;i++){
                if(ch[i] >= 'A' && ch[i] <= 'E'){
                    sb.append((char)((int)ch[i] + 21));
                }else if(ch[i] > 'E' && ch[i] <= 'Z'){
                    sb.append((char)((int)ch[i] - 5));
                }else{
                    sb.append(ch[i]);
                }
            }
            System.out.println(sb.toString());
        }
    }
}